<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Kowcore
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: ItemDetails.php 2011-03-09 08:45:41Z idris $
 * @author     Idris
 */

/**
 * @category   Application_Extensions
 * @package    Kowcore
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 */

class Kowcore_View_Helper_ItemDetails extends Zend_View_Helper_Abstract {
	
	protected $_name;
	
	public function itemDetails(Core_Model_Item_Abstract $item) {
		return $this->view->partial ( 'helper/item-details.tpl', 'kowcore', array ('object' => $item, 'viewer' => Engine_Api::_ ()->user ()->getViewer () ) );
	}

}